package com.xiaoyu.awakening.ai.search.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * AwkRankTypeEnum
 *
 * @author wangxiaoyu
 * @date 2025/4/29 15:06
 * @since v1.0
 */
@AllArgsConstructor
@Getter
public enum AwkRankTypeEnum {
    //关键词排序
    RANK_TEXT("rank_text", "文本排序") {
        @Override
        public Float smartWeight() {
            return 0f;
        }
    },
    //模型排序
    RANK_LLM_MODEL("rank_llm_model", "大模型排序") {
        @Override
        public Float smartWeight() {
            return 0f;
        }
    },
    //业务排序
    RANK_BUSINESS("rank_business", "业务排序") {
        @Override
        public Float smartWeight() {
            return 0f;
        }
    },
    //语义排序
    RANK_MODEL("rank_model", "模型语义排序") {
        @Override
        public Float smartWeight() {
            return 0f;
        }
    };

    private final String rankType;
    private final String rankDesc;

    public abstract Float smartWeight();
}
